﻿@charset "utf-8";
/*
	@ 名称: 自定义 input[type=file]
	@ 用法: 添加 class .sl-file
	@ 例子：
		 <span class="sl-file">
			<input type="button" value="点击选择图片" />
			<input type="file" exts="png|jpg|bmp" class="sl-file-input" />
		</span>
*/

/* 基础样式 */
.sl-file{
	position:relative;
	display:inline-block;
	zoom:1;
	cursor:pointer;
	overflow:hidden;
	vertical-align:middle;
}

/* 影响 .ui-input-file 的样式 */
.sl-file .sl-file-input{
	position:absolute;
	right:0;
	top:0;
	_font-size:100px; /* overwrite*/
	_font-size:12px;
	_zoom:10; /* overwrite */
	height:100%;
	_height:auto;
	opacity:0;
	filter:alpha(opacity=0);
	-ms-filter:"alpha(opacity=0)";
	cursor:pointer;
}
